package com.letoken.platform.repo.ecommerce.vo;

import com.letoken.platform.repo.ecommerce.po.EcommerceUserEvaluateReply;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class UserProductEvaluateRes {

    // 评价数
    private Integer num;
    // 好评率
    private Integer proportion;


    private List<EvaluateSimpleVo> list;

    @Data
    public static class EvaluateSimpleVo{
        @ApiModelProperty("评论记录ID")
        private Integer id;

        @ApiModelProperty("用户名称")
        private String userName;

        @ApiModelProperty("用户头像")
        private String headPortrait;

        @ApiModelProperty(value = "评分")
        private Float score;


        @ApiModelProperty(value = "评价内容")
        private String content;


        private String coverUrl;

        private String pics;


        private String videoUrl;
    }
}


